<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Cadastro de usuário</title>
</head>
<body>
	<div class="modal hide fade" id="myModal">
		<div class="modal-body" style="min-height: 0px">
			<div class="row-fluid sortable">
				<div class="box-content">
					<form class="form-horizontal" name="formCadastro">
						<fieldset>
							<div class="control-group">
								<label class="control-label" for="loginUsuario">Login</label>
								<div class="controls">
									<input class="input-xlarge focused" id="loginUsuario"
										maxlength="50" type="text">
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" for="senhaUsuario">Senha</label>
								<div class="controls">
									<input type="password" class="input-xlarge focused"
										id="senhaUsuario" maxlength="50" type="text">
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" for="tipoUsuario">Tipo de
									usuário</label>
								<div class="controls">
									<select id="tipoUsuario" data-rel="chosen"
										onchange="changedTipoUsuario(this)">
										<option value="gerente">Gerente</option>
										<option value="advogado">Advogado (a)</option>
										<option value="secretaria">Secret&aacute;ria (o)</option>
										<option value="estagiario">Estagi&aacute;rio (a)</option>
									</select>
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" for="estadoUsuario">Estado</label>
								<div class="controls">
									<select id="estadoUsuario" data-rel="chosen">
										<option>AC</option>
										<option>AL</option>
										<option>AM</option>
										<option>AP</option>
										<option>BA</option>
										<option>CE</option>
										<option>DF</option>
										<option>ES</option>
										<option>GO</option>
										<option>MA</option>
										<option>MG</option>
										<option>MS</option>
										<option>MT</option>
										<option>PA</option>
										<option>PB</option>
										<option>PE</option>
										<option>PI</option>
										<option>PR</option>
										<option>RJ</option>
										<option>RN</option>
										<option>RO</option>
										<option>RR</option>
										<option>RS</option>
										<option>SC</option>
										<option>SE</option>
										<option>SP</option>
										<option>TO</option>
									</select>
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" for="nomeUsuario">Nome
									completo</label>
								<div class="controls">
									<input class="input-xlarge focused" id="nomeUsuario"
										maxlength="50" type="text"
										onBlur="trim(formCadastro.nomeUsuario)">
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" for="enderecoUsuario">Endere&ccedil;o</label>
								<div class="controls">
									<input class="input-xlarge focused" id="enderecoUsuario"
										onBlur="trim(formCadastro.enderecoUsuario)" maxlength="80"
										type="text">
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" for="cidadeUsuario">Cidade</label>
								<div class="controls">
									<input class="input-xlarge focused" id="cidadeUsuario"
										onBlur="trim(formCadastro.cidadeUsuario)" maxlength="35"
										type="text">
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" for="cepUsuario">CEP</label>
								<div class="controls">
									<input class="input-xlarge focused" id="cepUsuario"
										onkeypress="validaCampos(this,cep)" maxlength="9" type="text">
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" for="telefoneUsuario">Telefone
									(fixo)</label>
								<div class="controls">
									<input class="input-xlarge focused" id="telefoneUsuario"
										onkeypress="validaCampos(this,telefone)" maxlength="14"
										type="text">
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" for="telefoneMovelUsuario">Telefone
									(m&oacute;vel)</label>
								<div class="controls">
									<input class="input-xlarge focused" id="celularUsuario"
										onkeypress="validaCampos(this,telefone)" maxlength="15"
										type="text">
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" for="emailUsuario">E-mail</label>
								<div class="controls">
									<input class="input-xlarge focused" id="emailUsuario"
										onBlur="trim(formCadastro.emailUsuario); validaEmail(formCadastro.emailUsuario)"
										maxlength="50" type="text">
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" for="dtNascUsuario">Data de
									nascimento</label>
								<div class="controls">
									<input type="text" class="input-xlarge datepicker"
										id="dtNascUsuario">
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" for="cpfUsuario">CPF</label>
								<div class="controls">
									<input class="input-xlarge focused" id="cpfUsuario"
										onkeypress="validaCampos(this,cpf)"
										onBlur="validarCPF(formCadastro.cpfUsuario)" maxlength="14"
										type="text">
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" for="rgUsuario">RG</label>
								<div class="controls">
									<input class="input-xlarge focused" id="rgUsuario" type="text"
										maxlength="12">
								</div>
							</div>
							<div class="control-group" id="fieldOabUsuario"
								style="display: none">
								<label class="control-label" for="oabUsuario">OAB</label>
								<div class="controls">
									<input class="input-xlarge focused" id="oabUsuario" type="text"
										maxlength="6">
								</div>
							</div>
							<div class="control-group" id="fieldCodEscritorio"
								style="display: none">
								<label class="control-label" for="codEscritorio">C&oacute;digo
									do escrit&oacute;rio</label>
								<div class="controls">
									<input class="input-xlarge focused" id="codEscritorio"
										maxlength="50" type="text">
								</div>
							</div>
							<div class="control-group" id="fieldCodGerente"
								style="display: none">
								<label class="control-label" for="codGerente">C&oacute;digo
									do gerente</label>
								<div class="controls">
									<input class="input-xlarge focused" id="codGerente"
										maxlength="50" type="text">
								</div>
							</div>
						</fieldset>
					</form>
				</div>
			</div>
		</div>
		<div class="modal-footer">
			<a href="#" class="btn" data-dismiss="modal">Fechar</a>
			<a href="#" class="btn btn-primary"
				onclick="return submitCadastroUsuario();">Cadastrar</a>
		</div>
	</div>
</body>
</html>